package com.itheima.demo;

import java.io.File;

public class Demo01 {

    public static void main(String[] args) {

        File file = new File("day10\\a.txt");
        System.out.println(file);

        System.out.println("-------------------------------------");

        File file1 = new File("day10","a.txt");
        System.out.println(file1);


        System.out.println("-----------------------------------------");

        File file2 = new File("day10");
        File file3 = new File(file2,"a.txt");
        System.out.println(file3);


    }
}
